﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using NUnit.Framework;
using Spring.Context.Support;
using Spring.Context;
using Host.IContract;

namespace Test.WcfClientTest
{
    [TestFixture]
    public class WcfClient
    {
        [Test]
        public void GetAllUser()
        {
            IApplicationContext ctx = ContextRegistry.GetContext();
            IServiceContract calculator = ctx.GetObject("serverWebContract") as IServiceContract;
            object obj = calculator.GetAllUser();
        }
    }
}
